package com.guli.mall.pms.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guli.common.utils.PageUtils;
import com.guli.common.utils.Query;

import com.guli.mall.pms.mapper.CommentReplayMapper;
import com.guli.mall.pms.entity.CommentReplayEntity;
import com.guli.mall.pms.service.CommentReplayService;


@Service("commentReplayService")
public class CommentReplayServiceImpl extends ServiceImpl<CommentReplayMapper, CommentReplayEntity> implements CommentReplayService {

    @Override
    public PageUtils queryPage(Integer currentPage,Integer size) {

        Page<CommentReplayEntity> page = new Page<>(currentPage,size);

        Page<CommentReplayEntity> resultPage = this.page(page);


        return new PageUtils(resultPage);
    }

}